package myky.com.doctorapp.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder

import myky.com.doctorapp.R
import myky.com.doctorapp.entity.GroupItemEntity

class FindDoctorDiseaseAdapter(data: List<GroupItemEntity.ChildItemeEntity.DiseaseItem>?) : BaseQuickAdapter<GroupItemEntity.ChildItemeEntity.DiseaseItem, BaseViewHolder>(R.layout.disease_item, data) {

    override fun convert(helper: BaseViewHolder, item: GroupItemEntity.ChildItemeEntity.DiseaseItem) {
        helper.setText(R.id.pop_child_tv, item.diseaseName)

        helper.addOnClickListener(R.id.pop_child_rl)
    }
}
